package com.artisan.provider.covtransformation;


import com.artisan.provider.domain.ZgDiscountCode;
import com.artisan.provider.dto.ZgDiscountCodeDto;
import com.artisan.provider.vo.ZgDiscountCodeVo;
import org.mapstruct.Mapper;
import org.mapstruct.Mappings;
import org.mapstruct.factory.Mappers;

import java.util.List;


@Mapper
public interface CovDiscountTransformation {

    CovDiscountTransformation INSTANCE = Mappers.getMapper(CovDiscountTransformation.class);

    @Mappings({})
    ZgDiscountCode zgDiscountCode(ZgDiscountCodeDto zgDiscountCodeDto);

    @Mappings({})
    ZgDiscountCodeDto zgDiscountCodeDto(ZgDiscountCode zgDiscountCode);

    @Mappings({})
    List<ZgDiscountCode> zgDiscountCodes(List<ZgDiscountCodeVo> zgDiscountCodeVos);

    @Mappings({})
    List<ZgDiscountCodeVo> zgDiscountCodeVos(List<ZgDiscountCode> zgDiscountCodes);

}
